Types of Loops
- For Loop
- While Loop
- Do..While Loop
Need for Looping Statements
When you need to execute a block of code several number of times, you need to use the looping concept in the C language.
Looping Statement
Looping statements execute one or more statements repeatedly several number of times.
Advantages of Looping Statements
- Reduce the length of the code.
- Take less memory space.
- Burden on the developer is reduced.
- Time required to execute the program is reduced.